def rft_run(params:list[str]):
    from ApiTools import apiTools,apiBase
    try:       
        # 向量名称
        collects=apiBase.argv_array(params,1,"rft/relevancy;")
        # 验证标准
        input=apiBase.argv(params,2,"hello")
        expected_output=apiBase.argv(params,3,"expected")
        output=apiBase.argv(params,4,"output")
        
        vcts=apiTools.load_models().get_vects(collects)
        rft = apiTools.load_rft()
        ret = rft.relevancy(vcts,input,expected_output,output)
        #print(ret)
        return ret
    except Exception as e:
        return f"function error:{e}"

#run([])